package com.xszx.bean;

import java.util.Date;

public class Order {
    private Integer id;
    private String orderSeq;
    private Integer goodsId;
    private String goodsName;
    private Integer goodsNum;
    private Double goodsPrice;
    private Date orderTime;
    private Integer userId;
    private String conName;
    private String address;
    private Integer orderState;

    public Order(Integer goodsId, String goodsName, Integer goodsNum, Double goodsPrice, Integer userId) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsNum = goodsNum;
        this.goodsPrice = goodsPrice;
        this.userId = userId;
    }

    public Order(Integer id, String orderSeq, Integer goodsId, String goodsName, Integer goodsNum, Double goodsPrice, Date orderTime, Integer userId, String conName, String address, Integer orderState) {
        this.id = id;
        this.orderSeq = orderSeq;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsNum = goodsNum;
        this.goodsPrice = goodsPrice;
        this.orderTime = orderTime;
        this.userId = userId;
        this.conName = conName;
        this.address = address;
        this.orderState = orderState;
    }
    public Order(String orderSeq, Integer goodsId, String goodsName, Integer goodsNum, Double goodsPrice, Integer userId, String conName, String address) {
        this.orderSeq = orderSeq;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsNum = goodsNum;
        this.goodsPrice = goodsPrice;
        this.userId = userId;
        this.conName = conName;
        this.address = address;
    }

    public Order(Integer id, String orderSeq, String goodsName, Integer goodsNum, Double goodsPrice, Date orderTime, String conName, String address, Integer orderState) {
        this.id = id;
        this.orderSeq = orderSeq;
        this.goodsName = goodsName;
        this.goodsNum = goodsNum;
        this.goodsPrice = goodsPrice;
        this.orderTime = orderTime;
        this.conName = conName;
        this.address = address;
        this.orderState = orderState;
    }

    public Order() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderSeq() {
        return orderSeq;
    }

    public void setOrderSeq(String orderSeq) {
        this.orderSeq = orderSeq;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getConName() {
        return conName;
    }

    public void setConName(String conName) {
        this.conName = conName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }
}
